using System.Collections.Generic;

namespace RxjhServer
{
	public class 任务阶段类
	{
		private string _任务阶段内容 = string.Empty;

		private string _NPCNAME = string.Empty;

		private int _阶段状态 = -1;

		public Dictionary<int, 阶段需要物品类> 阶段需要物品_ = new Dictionary<int, 阶段需要物品类>();

		public Dictionary<int, 阶段奖励物品类> 阶段奖励物品_ = new Dictionary<int, 阶段奖励物品类>();

		private string _任务条件符合提示1 = string.Empty;

		public string 任务条件符合提示2 = string.Empty;

		public string 任务条件符合提示3 = string.Empty;

		public string 任务条件符合提示4 = string.Empty;

		public string 任务条件符合提示5 = string.Empty;

		private string _任务条件不符合提示1 = string.Empty;

		public string 任务条件不符合提示2 = string.Empty;

		public string 任务条件不符合提示3 = string.Empty;

		public string 任务条件不符合提示4 = string.Empty;

		public string 任务条件不符合提示5 = string.Empty;

		private int _NpcID;

		private int _Npc地图ID;

		private int _Npc坐标X;

		private int _Npc坐标Y;

		private int _阶段ID;

		private int _难度系数;

		public int Npc未知1;

		public string NPCNAME
		{
			get
			{
				return _NPCNAME;
			}
			set
			{
				_NPCNAME = value;
			}
		}

		public string 任务阶段内容
		{
			get
			{
				return _任务阶段内容;
			}
			set
			{
				_任务阶段内容 = value;
			}
		}

		public int 阶段ID
		{
			get
			{
				return _阶段ID;
			}
			set
			{
				_阶段ID = value;
			}
		}

		public int 阶段状态
		{
			get
			{
				return _阶段状态;
			}
			set
			{
				_阶段状态 = value;
			}
		}

		public int 难度系数
		{
			get
			{
				return _难度系数;
			}
			set
			{
				_难度系数 = value;
			}
		}

		public int NpcID
		{
			get
			{
				return _NpcID;
			}
			set
			{
				_NpcID = value;
			}
		}

		public int Npc地图ID
		{
			get
			{
				return _Npc地图ID;
			}
			set
			{
				_Npc地图ID = value;
			}
		}

		public int Npc坐标X
		{
			get
			{
				return _Npc坐标X;
			}
			set
			{
				_Npc坐标X = value;
			}
		}

		public int Npc坐标Y
		{
			get
			{
				return _Npc坐标Y;
			}
			set
			{
				_Npc坐标Y = value;
			}
		}

		public string 任务条件符合提示1
		{
			get
			{
				return _任务条件符合提示1;
			}
			set
			{
				_任务条件符合提示1 = value;
			}
		}

		public string 任务条件不符合提示1
		{
			get
			{
				return _任务条件不符合提示1;
			}
			set
			{
				_任务条件不符合提示1 = value;
			}
		}

		public 任务阶段类 GetRWJD(int 任务ID, int 阶段ID)
		{
			try
			{
				foreach (任务类 value in World.任务list.Values)
				{
					if (value.RwID == 任务ID)
					{
						return value.任务阶段[阶段ID];
					}
				}
				return null;
			}
			catch
			{
				return null;
			}
		}
	}
}
